<template>
	<view class="button" @click="goOtherPage" >
		<view>
			<image class="add" src="../static/img/add.png" mode="aspectFill"></image>
			<text class="add-car">添加车辆</text>
		</view>
	   <view>
		   ئاپتوموبىل قوشۇش 
	   </view>
	</view>
</template>

<script>
	export default {
		name:"my-button",
		data() {
			return {
				
			};
		},
		methods: {
			goOtherPage() {
				uni.navigateTo({
				    url: '/pages/mine/addCar'
				});
			}
		}
	}
</script>

<style scoped lang="scss">
	.button {
		height: 100rpx;
		background: #FFC03C;
		padding-top: 10rpx;
		box-sizing: border-box;
		width: 100%;
		// display: flex;
		// flex-direction: column;
		text-align: center;
		color: #FFF;
		.add-car {
			font-size: 30rpx;
			font-family: PingFang SC;
			font-weight: 500;
			color: #FFFFFF;
		}
		image {
			width: 26rpx;
			height: 26rpx;
			margin-right: 6rpx;
		}
	}
</style>
